<div class="span12">
    <div class="box box-color box-bordered">
        <div class="box-title">
            <h3>
                <i class="icon-table"></i>
                Fotografias
            </h3>
            <div class="actions">
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_ORDER'))) { ?>
                    <a href="#mdlOrder" role="button" class="btn" data-toggle="modal"><i class="icon-table"></i></a>
                <?php } ?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_FILTER'))) { ?>
                    <!--a href="#mdlFilter" role="button" class="btn" data-toggle="modal"><i class="icon-search"></i></a-->
                <?php } ?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_EXCEL'))) { ?>
                    <a href="<?php echo url_for('/checklist/excelChecklist');?>?id=<?php echo $_GET['id'];?>" role="button" class="btn" ><i class="icon-download-alt"></i></a>
                <?php } ?>
              
            </div>
        </div>

        <div class="box-content nopadding">
            <br>
            <div class="row-fluid">
                <ul class="shop-items">
                    
                    <?php foreach ($photos as $value) { ?>
                        <li class="span3">
                            <a href="#">
                                <img src="data:image/png;base64,<?php echo ($value['imagen']);?>" alt="" width="100%">
                                <div class="details">
                                    <div class="name"><?php echo $value['CategoryPhoto']['name'];?></div>
                                    <div class="name"><?php echo $value['Users']['name'];?></div>
                                    <div class="price"><?php echo $value['photo_date'];?></div>
                                </div>
                            </a>
                            <div class="extended">
                                <div class="pull-right">
                                    <a href="#" rel='tooltip' title="Add to cart"><i class="icon-download-alt"></i></a>
                                </div>
                            </div>
                        </li>
                    <?php } ?>

                </ul>
            </div>

            

        </div>
    </div>
</div>